package com.demo.apparel.service.uniapp;

import com.demo.apparel.dto.ClothesUploadDTO;
import com.demo.apparel.vo.uniapp.ClothesDetailVO;
import com.demo.apparel.vo.uniapp.SimpleClothesVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface WxClothesService {
    /**
     * 提交衣物的图片
     * @param file
     * @param userId
     * @return
     */
    Map<String, String> uploadImageAndSave(MultipartFile file, String userId);

    /**
     *
     * @param dto
     * @param userId
     */
    void saveClothesInfo(ClothesUploadDTO dto, String userId);

    /**
     *
     */

    List<SimpleClothesVO> searchUserClothes(String userId, String keyword, String season);

    ClothesDetailVO getClothesDetailById(String clothesId, String userId);

}

